<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path;
%>
<!-- Mapping List -->
<div class="container-fluid">
	<div class="row">
		<div class="col-md-1"></div>
		<div class="col-md-10">
			<button type="button" class="btn btn-primary" id="indexAddDriverBtn">
				<span class="fa fa-plus"></span>添加驱动
			</button>
		</div>
		<div class="col-md-1"></div>
	</div>
	<br />

	<!-- 显示驱动列表 -->
	<div id="dirverListPanel">
			<div class="row">
				<div class="col-md-1"></div>
				<!-- 驱动列表展示 -->
				<div class="col-md-5">
					<div class="panel panel-default">
						<div class="panel-body" id="dirverList"></div>
					</div>
				</div>

				<!-- 驱动列表详细信息展示 -->
				<div class="col-md-5">
					<div class="panel panel-default">
						<div class="panel-body">
							<h4>仪表盘</h4>
							<div class="row">
								<div class="col-md-4">DataBase：<span id="dataBaseCount" class="text-primary"></span></div>
								<div class="col-md-4">WebService：<span id="webServiceCount" class="text-primary"></span></div>
								<div class="col-md-4">Ldap：<span id="ldapCount" class="text-primary"></span></div>
							</div>
							<br/>
							<div class="row">
								<div class="col-md-12">
									<table class="table table-bordered">
										<thead>
											<tr class="success">
												<th></th>
												<th>详情</th>
											</tr>
										</thead>
										<tbody id="driverListDetails"></tbody>
									</table>
								</div>
							</div>
						</div>
					</div>
				</div>
				
				<div class="col-md-1"></div>
			</div>
	</div>

</div>
<script type="text/javascript">
	//加载首页JS
	$.getScript($basePath + '/style/js/index/index.js');
</script>